#include <bibliotecas.h>

using namespace std;

#ifndef BD_H
#define BD_H 1

class BD: public BANCOPG
	{
	public:
		BD();
		~BD();
		int acao;/** 1 - Select, 2 - Insert, 3 - Update, 4 - Delete 5 - Preparar 6 - Executar*/
		vector<string> tabelas, campos, valores;
		vector<vector<string> > resultou;
		void acionar();
	protected:

	private:
		vector<string>::iterator i;
		void selecionar();
		void inserir();
		void atualizar();
		void deletar();
		void preparar();
		void executa();
	};

#endif /*BD_H*/